home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Diamond Collection / The Diamond Collection (Software Vault)(Digital Impact).ISO / cdr48 / st4gw110.zip / STUB4GW.DOC < prev    next >
Text File  |  1995-01-29  |  3KB  |  101 lines

  1.  
  2.             STUB/4GW  Version 1.10
  3.             ======================
  4.  
  5.              by Vladimir (Wladows) Arnost
  6.                   QA-Software
  7.  
  8.          Internet: xarnos00@dcse.fee.vutbr.cz
  9.  
  10.  
  11. DISCLAIMER
  12. ----------
  13.  
  14. In no event will I be liable to you for any damages, including any loss
  15. of profits, lost savings or other incidential or consequential damages
  16. arising out of your use or inability to use this program, or for any other
  17. claim by any other party.
  18.  
  19.  
  20. TRADEMARKS
  21. ----------
  22.  
  23.   Turbo Assembler is a registered trademark of Borland International
  24.   WATCOM is a trademark of WATCOM International Corp.
  25.  
  26.  
  27. DESCRIPTION
  28. -----------
  29.  
  30. STUB/4GW is a small replacement for the original stub loaders shipped with
  31. Watcom C/C++ compilers. It was written entirely in assembly language with
  32. respect to size and speed of execution. It is more than ten times smaller
  33. than the original loaders (WSTUB.EXE: 10610 bytes, WSTUBQ.EXE: 11566 bytes,
  34. while STUB4GW.EXE: 768 bytes and STUB4GWQ.EXE: 880 bytes).
  35.  
  36. The loader and its source code are free for both commercial and personal
  37. use. You are free to use and/or base your own programs on it. However this
  38. package can't be distributed if modified in any way. So, if you change
  39. something, don't distribute it under its original name.
  40.  
  41.  
  42. HOW TO USE IT
  43. -------------
  44.  
  45. Copy files STUB4GW.EXE and STUB4GWQ.EXE into the %WATCOM%\BINB directory
  46. and modify the linker definition file WLSYSTEM.LNK according to this (see
  47. the file STUB4GW.LNK):
  48.  
  49.   system begin dos4g
  50.       option osname='Rational Systems'
  51.       libpath %WATCOM%\lib386
  52.       libpath %WATCOM%\lib386\dos
  53.   # change this line:
  54.       op stub=stub4gw.exe
  55.       format os2 le
  56.   end
  57.  
  58. and (optionally) add this entry:
  59.  
  60.   system begin dos4gq
  61.       option osname='Rational Systems Quiet'
  62.       libpath %WATCOM%\lib386
  63.       libpath %WATCOM%\lib386\dos
  64.   # notice the change here:
  65.       op stub=stub4gwq.exe
  66.       format os2 le
  67.   end
  68.  
  69. That's all!
  70.  
  71. Now you can compile and link with the new stubs:
  72.   WCL386 /l=dos4g program.c
  73. -or-
  74.   WCL386 /l=dos4gq program.c
  75.  
  76. To recompile the stubs you need TASM (Turbo Assembler) version 2.0 or newer.
  77. Actually this version was written under TASM 3.2. Sorry to you folks, who
  78. have just one assembler (I mean Watcom WASM). I think TASM is better. (But
  79. this is not true about the C compilers. 8-)
  80.  
  81.  
  82. FINAL NOTES
  83. -----------
  84.  
  85. As any program, this one may contain bugs. Please send me any bug reports, 
  86. new ideas, comments or suggestions. Only this way leads to perfect software.
  87.  
  88. My Internet address is:
  89.  
  90.     xarnos00@dcse.fee.vutbr.cz
  91.  
  92. snail-mail:
  93.  
  94.     Vladimir Arnost
  95.     Ceska 921
  96.     Chrudim 4
  97.     537 01
  98.     CZECH REPUBLIC
  99.  
  100. Thanks, you are great!
  101.